//  where.c  -- 数据被存储在何处？

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static int a = 1;
static int b = 1;
static int c = 1;

int main(){
    int *p=(int *)malloc(sizeof(int));
    int d=1;
    static int e=1;
    int f=1;
    int *q=(int *)malloc(sizeof(int));
    int *r=(int *)malloc(sizeof(int));
    printf("%p\n",&a);
    printf("%p\n",&b);
    printf("%p\n",&c);
    printf("%p\n",&d);
    printf("%p\n",&e);
    printf("%p\n",&f);
    printf("%p\n",&p);
    printf("%p\n",&q);
    printf("%p\n",&r);
}
